package com.pth.action;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.pth.model.Jianjie;
import com.pth.service.JianjieService;

@SuppressWarnings("serial")
public class GetjianjieImageAction extends ActionSupport {

	private JianjieService jianjieService;
	private List<Jianjie> jianjies;
	public JianjieService getJianjieService() {
		return jianjieService;
	}
	public void setJianjieService(JianjieService jianjieService) {
		this.jianjieService = jianjieService;
	}
	public List<Jianjie> getJianjies() {
		return jianjies;
	}
	public void setJianjies(List<Jianjie> jianjies) {
		this.jianjies = jianjies;
	}
	
	@Override
	public String execute() throws Exception {

		jianjies=jianjieService.getJianjies_image();
		
		return SUCCESS;
	
	}
	
}
